#!/bin/bash
start_time=$(date +%s) # %s可以计算的是1970年以来的秒数


#for dist in $(seq 1 1 15); do
#  ./scripts/load_db_ali_single.sh till_${dist}_valid
#  python ./scripts/collect_results.py 1 till_${dist}_valid >> ../evaluation/expr_dataset_till15.txt
#done
#cat ../evaluation/expr_dataset_till15.txt
#
#for dist in $(seq 1 10 160); do
#  ./scripts/load_db_ali_single.sh till_${dist}_valid
#  python ./scripts/collect_results.py 1 till_${dist}_valid >> ../evaluation/expr_dataset_till160.txt
#done
#cat ../evaluation/expr_dataset_till160.txt
#
for dist in $(seq 101 200 720); do
  ./scripts/load_db_ali_single.sh till_${dist}_valid
  python ./scripts/collect_results.py 1 till_${dist}_valid >> ../evaluation/expr_dataset_till900.txt
done
cat ../evaluation/expr_dataset_till900.txt


#./scripts/load_db_ali_single.sh till_810_valid
#python ./scripts/collect_results.py 1 till_810_valid >> ../evaluation/expr_dataset_till900.txt
#
#cat ../evaluation/expr_dataset_till900.txt

end_time=$(date +%s)
cost_time=$((end_time-start_time))
echo "build kernel time is $((cost_time/60))min $((cost_time%60))s"